<%@ Control Language="c#" Inherits="Portal.Modules.AdminPortal.ModuleEdit" CodeBehind="ModuleEdit.ascx.cs" %>
<%@ Register TagPrefix="uc1" TagName="Roles" Src="Roles.ascx" %>
<%@ Register TagPrefix="portal" Assembly="Portal.API" Namespace="Portal.API.Controls" %>
<h2>
	<portal:Label runat="server" LanguageRef="ModuleData" />
</h2>
<p>
	<portal:LinkButton ID="lnkSave" runat="server" CssClass="linkButton" OnClick="OnSave"
		CausesValidation="True" LanguageRef="Save" />
	<portal:LinkButton ID="lnkCancel" runat="server" CssClass="linkButton" OnClick="OnCancel"
		CausesValidation="False" LanguageRef="Cancel" />
	<portal:LinkButton ID="lnkDelete" runat="server" CssClass="linkButton" OnClick="OnDelete"
		CausesValidation="False" LanguageRef="Delete" />
</p>
<asp:Label ID="lbError" runat="server" CssClass="Error" EnableViewState="False" />
<asp:ValidationSummary EnableClientScript="False" ID="validation" runat="server" />
<table width="100%" cellpadding="0" cellspacing="0" class="formData">
	<tr>
		<td class="lb_top">
			<portal:Label ID="Label1" runat="server" LanguageRef="Title" />
		</td>
		<td class="ct_top">
			<asp:TextBox ID="txtTitle" runat="server" Width="100%" />
		</td>
	</tr>
	<tr>
		<td class="lb_normal">
			<portal:Label ID="Label2" runat="server" LanguageRef="Reference" />
		</td>
		<td class="ct_normal">
			<asp:TextBox ID="txtReference" runat="server" Width="100%" />
			<portal:RequiredFieldValidator EnableClientScript="False" runat="server" ControlToValidate="txtReference"
				Display="Dynamic" LanguageRef="ReferenceRequired" />
		</td>
	</tr>
	<tr>
		<td class="lb_normal">
			<portal:Label ID="Label3" runat="server" LanguageRef="Type" />
		</td>
		<td class="ct_normal">
			<asp:DropDownList ID="cbType" runat="server" />
			<portal:CustomValidator runat="server" OnServerValidate="OnValidateCBType" EnableClientScript="False"
				Display="Dynamic" LanguageRef="TypeRequired" />
		</td>
	</tr>
	<tr>
		<td>
		</td>
		<td class="ct_normal">
			<uc1:Roles ID="rolesList" runat="server" />
		</td>
	</tr>
</table>
